package org.example.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Auther:Liu
 * @Testname:ConsumerFeign
 * @Date:2025/9/10 14:42
 */
@FeignClient(name = "cloud-sentinel-prodiver",path = "/prodiver",
        fallback = SentinelProviderPlanB.class //备选方案
)
public interface ConsumerFeign {

    @GetMapping("/a")
    String a();

    @GetMapping("/b")
    String b();
}
